package com.kobeliu.service;

import com.kobeliu.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kobeliu.pojo.bo.AdminBO;
import com.kobeliu.pojo.bo.AdminInfoBO;
import com.kobeliu.pojo.vo.AdminVO;
import com.kobeliu.utils.PagedGridResult;

import java.util.List;

/**
 * <p>
 * 慕聘网运营管理系统的admin账户表，仅登录，不提供注册 服务类
 * </p>
 *
 * @author kobeliu
 * @since 2024-07-21
 */
public interface AdminService{
    /**
     * admin登录
     * @param adminBO
     * @return
     */
    Boolean adminLogin(AdminBO adminBO);

    /**
     * 获取admin信息
     * @param adminBO
     * @return
     */
    AdminVO getAdminVO(AdminBO adminBO);
    void createAdmin(AdminInfoBO adminInfoBO);

    PagedGridResult getAdminList(String accountName, Integer page, Integer limit);

    void deleteAdmin(String username);

}
